onEvent('tags.blocks', event => {
  // Add a block to a tag
  event.add('minecraft:needs_gold_tool', 'minecraft:iron_ore');
  event.add('minecraft:needs_gold_tool', 'minecraft:deepslate_iron_ore');
  event.add('minecraft:needs_gold_tool', 'spelunkery:andesite_iron_ore');
  event.add('minecraft:needs_gold_tool', 'spelunkery:granite_iron_ore');
  event.add('minecraft:needs_gold_tool', 'spelunkery:diorite_iron_ore');
  event.add('minecraft:needs_gold_tool', 'spelunkery:tuff_iron_ore');

  // Remove a block from a tag
  event.remove('minecraft:mineable/pickaxe', 'minecraft:stone');

  // Add multiple blocks to a tag
  event.add('minecraft:mineable/axe', [
    'minecraft:oak_log',
    'minecraft:birch_log'
  ]);
});
