// Visit the wiki for more info - https://kubejs.com/
console.info('Loaded Pixelmon Daycare Tag Script');

// Listen for the "tags" server event.
// Tags are loaded before recipes, so this script must be in the startup_scripts folder.
ServerEvents.tags('item', event => {
    // Creates a new item tag called 'daycares/pixelmon' in the 'forge' namespace.
    // This makes the tag available to all mods that use Forge tags.
    // The tag ID will be '#forge:daycares/pixelmon'.
    //
    // The .add() method includes specific items in the tag.
    event.add('forge:daycares/pixelmon', [
        'pixelmon:daycare',
        'pixelmon:white_day_care',
        'pixelmon:light_gray_day_care',
        'pixelmon:gray_day_care',
        'pixelmon:black_day_care',
        'pixelmon:brown_day_care',
        'pixelmon:red_day_care',
        'pixelmon:orange_day_care',
        'pixelmon:yellow_day_care',
        'pixelmon:lime_day_care',
        'pixelmon:green_day_care',
        'pixelmon:cyan_day_care',
        'pixelmon:light_blue_day_care',
        'pixelmon:blue_day_care',
        'pixelmon:purple_day_care',
        'pixelmon:magenta_day_care',
        'pixelmon:pink_day_care'
    ]);
});
