// priority: 100 let tagHackFixUsed = false; let ftb$laterTasks = []; const jaopcaTags = [ ["forge:raw_ores/tin", "mekanism:raw_tin"], ["forge:raw_ores/lead", "mekanism:raw_lead"], ["forge:raw_ores/silver", "occultism:raw_silver"], ["forge:raw_ores/osmium", "mekanism:raw_osmium"], ["forge:raw_ores/uranium", "mekanism:raw_uranium"], ["forge:raw_ores/nickel", "railcraft:nickel_raw"], ["forge:raw_ores/aluminum", "xycraft_world:raw_aluminum"], ["forge:raw_ores/zinc", "create:raw_zinc"], ["forge:raw_ores/iron", "minecraft:raw_iron"], ["forge:raw_ores/gold", "minecraft:raw_gold"], ["forge:raw_ores/copper", "minecraft:raw_copper"], ["forge:ores/coal", "aethersteel:aetherslate_coal_ore"], ["forge:ores/iron", "aethersteel:aetherslate_iron_ore"], ["forge:ores/copper", "aethersteel:aetherslate_copper_ore"], ["forge:ores/diamond", "aethersteel:aetherslate_diamond_ore"], ["forge:ores/emerald", "aethersteel:aetherslate_emerald_ore"], ["forge:ores/redstone", "aethersteel:aetherslate_redstone_ore"], ["forge:ores/lapis", "aethersteel:aetherslate_lapis_ore"], ["forge:ores/gold", "aethersteel:aetherslate_gold_ore"], ["forge:dusts/ender_pearl", "railcraft:ender_dust"], ["forge:silicon", "refinedstorage:silicon"], ["forge:dusts/salt", "growthcraft:salt"], ["forge:gears/wood", "hammerlib:gears/wooden"], ["mekanism:dirty_dusts", "mekanism:dirty_dust_zinc"], ["mekanism:dirty_dusts/zinc", "mekanism:dirty_dust_zinc"], ["mekanism:dirty_dusts/aluminum", "mekanism:dirty_dust_aluminum"], ["mekanism:dirty_dusts", "mekanism:dirty_dust_aluminum"], ["mekanism:dirty_dusts/nickel", "mekanism:dirty_dust_nickel"], ["mekanism:dirty_dusts", "mekanism:dirty_dust_nickel"], ["mekanism:dirty_dusts/silver", "mekanism:dirty_dust_silver"], ["mekanism:dirty_dusts", "mekanism:dirty_dust_silver"], ["forge:gears/wooden", "enderio:wood_gear"], ["ftb:jaopca/blacklist", "jaopca:raw_storage_blocks.hellforged"], ["ftb:jaopca/blacklist", "jaopca:raw_storage_blocks.iesnium"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.ash"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.cobalt"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.corrupti"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.end_stone"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.ender"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.flour"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.fluix"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.grains_of_infinity"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.grains_of_pizeallity"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.grains_of_prescience"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.grains_of_the_end"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.grains_of_vibrancy"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.hellforged"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.lithium"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.mundabitur"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.netherite_scrap"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.plutonium"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.prismarine"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.salt"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.saltpeter"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.sulfur"], ["ftb:jaopca/blacklist", "jaopca:storage_blocks.wood"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.aluminum"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.calorite"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.desh"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.iesnium"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.lead"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.nickel"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.osmium"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.ostrum"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.silver"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.tin"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.uranium"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_fragments.zinc"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.aluminum"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.calorite"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.desh"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.iesnium"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.lead"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.nickel"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.osmium"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.ostrum"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.silver"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.tin"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.uranium"], ["ftb:jaopca/blacklist", "jaopca:bloodmagic_gravels.zinc"], ["ftb:jaopca/blacklist", "jaopca:create_crushed.calorite"], ["ftb:jaopca/blacklist", "jaopca:create_crushed.desh"], ["ftb:jaopca/blacklist", "jaopca:create_crushed.hellforged"], ["ftb:jaopca/blacklist", "jaopca:create_crushed.iesnium"], ["ftb:jaopca/blacklist", "jaopca:create_crushed.ostrum"], ["ftb:jaopca/blacklist", "jaopca:dusts.calorite"], ["ftb:jaopca/blacklist", "jaopca:dusts.desh"], ["ftb:jaopca/blacklist", "jaopca:dusts.ostrum"], ["ftb:jaopca/blacklist", "jaopca:nuggets.hellforged"], ["ftb:jaopca/blacklist", "bloodmagic:sand_netherite"], ["ftb:jaopca/blacklist", "jaopca:mekanism_clumps.aluminum"], ["ftb:jaopca/blacklist", "jaopca:mekanism_crystals.aluminum"], ["ftb:jaopca/blacklist", "jaopca:mekanism_dirty_dusts.aluminum"], ["ftb:jaopca/blacklist", "jaopca:mekanism_shards.aluminum"], ["ftb:jaopca/blacklist", "jaopca:mekanism_clumps.zinc"], ["ftb:jaopca/blacklist", "jaopca:mekanism_crystals.zinc"], ["ftb:jaopca/blacklist", "jaopca:mekanism_dirty_dusts.zinc"], ["ftb:jaopca/blacklist", "jaopca:mekanism_shards.zinc"] ]; const blockTags = [ ["minecraft:needs_iron_tool", /aethersteel:.*/], [ "pedestals:pedestals_cannot_break", [ "minecraft:spawner", "enderio:broken_spawner", "twilightforest:naga_boss_spawner", "twilightforest:lich_boss_spawner", "twilightforest:minoshroom_boss_spawner", "twilightforest:hydra_boss_spawner", "twilightforest:knight_phantom_boss_spawner", "twilightforest:ur_ghast_boss_spawner", "twilightforest:alpha_yeti_boss_spawner", "twilightforest:snow_queen_boss_spawner", "twilightforest:final_boss_boss_spawner" ] ], ["buildinggadgets2:deny", "enderio:conduit"] ]; const removeTags = [ ["forge:dusts", "immersiveengineering:dust_nickel"], ["forge:dusts/nickel", "immersiveengineering:dust_nickel"] ]; ServerEvents.tags("item", (event) => { global["unUnified"].forEach((id) => { event.removeAllTagsFrom(id); event.add("c:hidden_from_recipe_viewers", id); }); event.add("forge:experience", ["experienceobelisk:raw_experience_bucket"]); removeTags.forEach((tag) => { event.remove(tag[0], tag[1]); }); jaopcaTags.forEach((unifiedTag) => { console.log(unifiedTag[0] + ":" + unifiedTag[1]); event.add(unifiedTag[0], unifiedTag[1]); }); }); const arsBlacklist = [ "trashcans:energy_trash_can", "trashcans:item_trash_can", "trashcans:ultimate_trash_can", "trashcans:liquid_trash_can", "ad_astra:launch_pad", "experienceobelisk:experience_obelisk", "angelblockrenewed:angel_block", "integratedtunnels:part_interface_item", "integratedtunnels:part_interface_filter_item", "integratedtunnels:part_importer_item", "integratedtunnels:part_exporter_item", "integratedtunnels:part_importer_world_item", "integratedtunnels:part_exporter_world_item" ]; ServerEvents.tags("block", (event) => { arsBlacklist.forEach((block) => { event.get("ars_nouveau:no_break_drop").add(block); }); blockTags.forEach((blockTag) => { console.log(blockTag[0] + ":" + blockTag[1]); event.add(blockTag[0], blockTag[1]); }); }); ServerEvents.tags("fluid", (event) => { if (!tagHackFixUsed) { ftb$laterTasks.push(() => { console.log("Applying hotfix to tags", event); event.add("forge:lubricant", "pneumaticcraft:lubricant"); }); tagHackFixUsed = true; } else { event.add("forge:lubricant", "pneumaticcraft:lubricant"); } }); ServerEvents.loaded(() => { console.log("ftb$ running later tasks of: " + ftb$laterTasks.length); for (const task of ftb$laterTasks) { task(); } // Clear the list ftb$laterTasks = []; }); ServerEvents.tags("entity", (event) => { event.add("mob_grinding_utils:no_dirt_spawn", "forbidden_arcanus:lost_soul"); });