ServerEvents.tags('minecraft:worldgen/biome', event => {

  priority: 101

  event.add('tnp:has_meteorites', 'jamd:mining')

  event.add('elementalcraft:has_sources/nether/all', 'jamd:nether')
  event.add('elementalcraft:has_sources/nether/forest', 'jamd:nether')

  event.add('elementalcraft:has_sources/end', 'jamd:end')

  event.add('elementalcraft:has_sources/all', 'jamd:mining', 'jamd:end')
  event.add('elementalcraft:has_sources/sky', 'jamd:mining', 'jamd:end')

  event.add('elementalcraft:has_sources/plain', 'jamd:mining')
  event.add('elementalcraft:has_sources/underground', 'jamd:mining')
  event.add('elementalcraft:has_sources/mountain', 'jamd:mining')
  event.add('elementalcraft:has_sources/icy', 'jamd:mining')
  event.add('elementalcraft:has_sources/forest', 'jamd:mining')
  event.add('elementalcraft:has_sources/dry', 'jamd:mining')
  event.add('elementalcraft:has_sources/dripstone_cave', 'jamd:mining')

  event.add('elementalcraft:has_structure/source_altar', 'jamd:mining')

  event.remove('ae2:has_meteorites', 'alexscaves:abyssal_chasm', 'alexscaves:forlorn_hollows', 'alexscaves:magnetic_caves', 'alexscaves:primordial_caves', 'alexscaves:toxic_caves', 'ars_elemental:blazing_forest', 'ars_elemental:cascading_forest', 'ars_elemental:flashing_forest', 'ars_elemental:flourishing_forest', 'ars_nouveau:archwood_forest', 'biomesoplenty:auroral_garden', 'biomesoplenty:bayou', 'biomesoplenty:bog', 'biomesoplenty:clover_patch', 'biomesoplenty:cold_desert', 'biomesoplenty:coniferous_forest', 'biomesoplenty:crag', 'biomesoplenty:dead_forest', 'biomesoplenty:dryland', 'biomesoplenty:dune_beach', 'biomesoplenty:field', 'biomesoplenty:fir_clearing', 'biomesoplenty:floodplain', 'biomesoplenty:forested_field', 'biomesoplenty:fungal_jungle', 'biomesoplenty:glowing_grotto', 'biomesoplenty:grassland', 'biomesoplenty:highland', 'biomesoplenty:jade_cliffs', 'biomesoplenty:lavender_field', 'biomesoplenty:lavender_forest', 'biomesoplenty:lush_desert', 'biomesoplenty:lush_savanna', 'biomesoplenty:maple_woods', 'biomesoplenty:marsh', 'biomesoplenty:mediterranean_forest', 'biomesoplenty:moor', 'biomesoplenty:muskeg', 'biomesoplenty:mystic_grove', 'biomesoplenty:old_growth_dead_forest', 'biomesoplenty:old_growth_woodland', 'biomesoplenty:ominous_woods', 'biomesoplenty:orchard', 'biomesoplenty:origin_valley', 'biomesoplenty:pasture', 'biomesoplenty:prairie', 'biomesoplenty:pumpkin_patch', 'biomesoplenty:rainforest', 'biomesoplenty:redwood_forest', 'biomesoplenty:rocky_rainforest', 'biomesoplenty:rocky_shrubland', 'biomesoplenty:scrubland', 'biomesoplenty:seasonal_forest', 'biomesoplenty:seasonal_orchard', 'biomesoplenty:shrubland', 'biomesoplenty:snowblossom_grove', 'biomesoplenty:snowy_coniferous_forest', 'biomesoplenty:snowy_fir_clearing', 'biomesoplenty:snowy_maple_woods', 'biomesoplenty:spider_nest', 'biomesoplenty:tropics', 'biomesoplenty:tundra', 'biomesoplenty:volcanic_plains', 'biomesoplenty:volcano', 'biomesoplenty:wasteland', 'biomesoplenty:wasteland_steppe', 'biomesoplenty:wetland', 'biomesoplenty:woodland', 'galosphere:crystal_canyons', 'galosphere:lichen_caves', 'integrateddynamics:meneglin', 'minecraft:badlands', 'minecraft:bamboo_jungle', 'minecraft:beach', 'minecraft:birch_forest', 'minecraft:cherry_grove', 'minecraft:cold_ocean', 'minecraft:dark_forest', 'minecraft:deep_cold_ocean', 'minecraft:deep_dark', 'minecraft:deep_frozen_ocean', 'minecraft:deep_lukewarm_ocean', 'minecraft:deep_ocean', 'minecraft:desert', 'minecraft:dripstone_caves', 'minecraft:eroded_badlands', 'minecraft:flower_forest', 'minecraft:forest', 'minecraft:frozen_ocean', 'minecraft:frozen_peaks', 'minecraft:frozen_river', 'minecraft:grove', 'minecraft:ice_spikes', 'minecraft:jagged_peaks', 'minecraft:jungle', 'minecraft:lukewarm_ocean', 'minecraft:lush_caves', 'minecraft:mangrove_swamp', 'minecraft:meadow', 'minecraft:mushroom_fields', 'minecraft:ocean', 'minecraft:old_growth_birch_forest', 'minecraft:old_growth_pine_taiga', 'minecraft:old_growth_spruce_taiga', 'minecraft:plains', 'minecraft:river', 'minecraft:savanna', 'minecraft:savanna_plateau', 'minecraft:snowy_beach', 'minecraft:snowy_plains', 'minecraft:snowy_slopes', 'minecraft:snowy_taiga', 'minecraft:sparse_jungle', 'minecraft:stony_peaks', 'minecraft:stony_shore', 'minecraft:sunflower_plains', 'minecraft:swamp', 'minecraft:taiga', 'minecraft:warm_ocean', 'minecraft:windswept_forest', 'minecraft:windswept_gravelly_hills', 'minecraft:windswept_hills', 'minecraft:windswept_savanna', 'minecraft:wooded_badlands', 'quark:glimmering_weald', 'regions_unexplored:alpha_grove', 'regions_unexplored:ancient_delta', 'regions_unexplored:arid_mountains', 'regions_unexplored:ashen_woodland', 'regions_unexplored:autumnal_maple_forest', 'regions_unexplored:bamboo_forest', 'regions_unexplored:baobab_savanna', 'regions_unexplored:barley_fields', 'regions_unexplored:bayou', 'regions_unexplored:bioshroom_caves', 'regions_unexplored:blackwood_taiga', 'regions_unexplored:boreal_taiga', 'regions_unexplored:chalk_cliffs', 'regions_unexplored:clover_plains', 'regions_unexplored:cold_boreal_taiga', 'regions_unexplored:cold_deciduous_forest', 'regions_unexplored:cold_river', 'regions_unexplored:deciduous_forest', 'regions_unexplored:dry_bushland', 'regions_unexplored:eucalyptus_forest', 'regions_unexplored:fen', 'regions_unexplored:flower_fields', 'regions_unexplored:frozen_pine_taiga', 'regions_unexplored:frozen_tundra', 'regions_unexplored:fungal_fen', 'regions_unexplored:golden_boreal_taiga', 'regions_unexplored:grassland', 'regions_unexplored:grassy_beach', 'regions_unexplored:gravel_beach', 'regions_unexplored:highland_fields', 'regions_unexplored:hyacinth_deeps', 'regions_unexplored:icy_heights', 'regions_unexplored:joshua_desert', 'regions_unexplored:magnolia_woodland', 'regions_unexplored:maple_forest', 'regions_unexplored:marsh', 'regions_unexplored:mauve_hills', 'regions_unexplored:mountains', 'regions_unexplored:muddy_river', 'regions_unexplored:old_growth_bayou', 'regions_unexplored:orchard', 'regions_unexplored:outback', 'regions_unexplored:pine_slopes', 'regions_unexplored:pine_taiga', 'regions_unexplored:poppy_fields', 'regions_unexplored:prairie', 'regions_unexplored:prismachasm', 'regions_unexplored:pumpkin_fields', 'regions_unexplored:rainforest', 'regions_unexplored:redstone_caves', 'regions_unexplored:redwoods', 'regions_unexplored:rocky_meadow', 'regions_unexplored:rocky_reef', 'regions_unexplored:saguaro_desert', 'regions_unexplored:scorching_caves', 'regions_unexplored:shrubland', 'regions_unexplored:silver_birch_forest', 'regions_unexplored:sparse_rainforest', 'regions_unexplored:sparse_redwoods', 'regions_unexplored:spires', 'regions_unexplored:steppe', 'regions_unexplored:temperate_grove', 'regions_unexplored:towering_cliffs', 'regions_unexplored:tropical_river', 'regions_unexplored:tropics', 'regions_unexplored:willow_forest')

  event.remove('alexsmobs:skreechers_can_spawn_wardens', 'deeperdarker:otherside')
  event.remove('idas:has_structure/byg_redwood_biomes', 'byg:redwood_thicket')
  event.remove('idas:has_structure/bopmohogany_biomes', 'biomesoplenty:rainforest')
  event.remove('idas:has_structure/bygmohogany_biomes', 'byg:tropical_rainforest')
  event.remove('idas:has_structure/bopredwood_biomes', 'biomesoplenty:redwood_forest')

  event.remove('minecraft:is_overworld', 'alexscaves:abyssal_chasm')
  event.remove('minecraft:is_overworld', 'alexscaves:forlorn_hollows')
  event.remove('minecraft:is_overworld', 'alexscaves:magnetic_caves')
  event.remove('minecraft:is_overworld', 'alexscaves:primordial_caves')
  event.remove('minecraft:is_overworld', 'alexscaves:toxic_caves')

})