ServerEvents.recipes(event => {
    //Remove recipes
    for (const item of global.hideList) {
        event.remove({output: item})
    }
    event.remove({output:'wands:diamond_wand'})
    event.remove({output:'minecraft:trident'})
    event.remove({output:'better_angel_ring:angel_ring'})
    event.remove({output:'benssharks:fish_bucket'})
    event.remove({output:'spawn:potted_sweet_berries'})
    event.remove({output:'explorerscompass:explorerscompass'})
    event.replaceInput({input:'benssharks:cellophane_noodles'},'benssharks:cellophane_noodles','farmersdelight:raw_pasta')
    event.replaceInput({input:'rainbowreef:raw_clownfish'},'rainbowreef:raw_clownfish','minecraft:tropical_fish')
    event.replaceInput({input:'recrafted_creatures:apple_slice'},'recrafted_creatures:apple_slice','minecraft:apple')
    event.replaceInput({output:'fintastic:clear_aquarium_glass_pane'},'fintastic:clear_aquarium_glass','connectedglass:borderless_glass')
    //Other recipes
    // event.smithing(
    //     "unusualprehistory:trike_shield",
    //     "minecraft:shield",
    //     "unusualprehistory:trike_horn"
    // )
    event.smithing(
        'simplest_paxels:netherite_paxel',                     // arg 1: output
        'minecraft:netherite_upgrade_smithing_template', // arg 2: the smithing template
        'simplest_paxels:diamond_paxel',                          // arg 3: the item to be upgraded
        'minecraft:netherite_ingot'                          // arg 4: the upgrade item
    )
    event.shapeless(Item.of('wands:diamond_wand'), [
        Item.of('wands:diamond_wand'),
        'immersive_aircraft:industrial_gears'
    ]).modifyResult((grid, result) => {
        let item = grid.find(Item.of('wands:diamond_wand'))
        item.setDamageValue(0)
        return result.withNBT(item.nbt)
    })
    event.remove({output:'ambientadditions:crate'})
    event.shaped(
        Item.of("ambientadditions:crate",1),
        [
            'BEB',
            'ACA',
            'DDD'
        ],
        {
            A:"minecraft:netherite_ingot",
            B:"quark:moss_paste",
            C:"supplementaries:cage",
            D:"#forge:stripped_logs",
            E:"#minecraft:wooden_trapdoors"
        }
    )
    event.shaped(
        Item.of("alexsmobs:vine_lasso",1),
        [
            ' AC',
            'ABA',
            'BA '
        ],
        {
            A:"minecraft:vine",
            B:"farmersdelight:canvas",
            C:"minecraft:lead"
        }
    )
    event.shaped(
        Item.of('benssharks:fish_bucket',1),
        [
            'AA',
            'BC',
        ],
        {
            A:'#minecraft:fishes',
            B:'minecraft:bone_meal',
            C:"minecraft:bucket"
        }
    )
    event.shaped(
        Item.of("kubejs:researchpapers",1),
        [
            'AAA',
            'BCB',
            'AAA'
        ],
        {
            A:"minecraft:paper",
            B:"#alexsmobs:animal_dictionary_ingredient",
            C:"minecraft:netherite_scrap"
        }
    )
    event.shaped(
        Item.of("wands:diamond_wand",1),
        [
            'AAA',
            'BCD',
            'EFE'
        ],
        {
            A:"quark:moss_paste",
            B:"quark:trowel",
            C:"alexsmobs:falconry_glove",
            D:"simplest_hammers:iron_hammer",
            E:"minecraft:stripped_spruce_log",
            F:"immersive_aircraft:industrial_gears",
        }
    )
    event.shaped(
        Item.of("explorerscompass:explorerscompass",1),
        [
            'AAA',
            'ABA',
            'ACA'
        ],
        {
            A:"upgrade_aquatic:coralstone",
            B:"minecraft:compass",
            C:"minecraft:nether_star",
        }
    )
    event.shaped(
        Item.of("minecraft:trident",1),
        [
            ' AA',
            ' BA',
            'B  '
        ],
        {
            A:"#menagerie:shark_teeth",
            B:'upgrade_aquatic:prismarine_rod',
        }
    )
    event.shapeless(
        Item.of("spawn:sunflower",1),
        [
                "minecraft:sunflower"
        ]
    )
    event.shapeless(
        Item.of("spawn:potted_sweet_berries",1),
        [
                "minecraft:sweet_berries",
                "autumnity:snail_shell_block"
        ]
    )
    event.shapeless(
        Item.of("minecraft:packed_mud",1),
        [
                "minecraft:mud",
                "minecraft:wheat"
        ]
    )
    event.shapeless(
        Item.of('connectedglass:borderless_glass_pane',1),
        [
            'fintastic:clear_aquarium_glass_pane'
        ]
    )
    event.shapeless(
        Item.of('fintastic:clear_aquarium_glass_pane',1),
        [
            'connectedglass:borderless_glass_pane'
        ]
    )
    event.shapeless(
        Item.of("spawn:mucus",1),
        [
                'minecraft:water_bucket',
                "autumnity:snail_goo"
        ]
    ).replaceIngredient('minecraft:water_bucket', 'minecraft:water_bucket')
    event.shapeless(
        Item.of("minecraft:brown_dye",8),
        [
                "oddorganisms:doedicurus_scute"
        ]
    )
    event.shapeless(
        Item.of("minecraft:light_gray_dye",8),
        [
                "faunify:quill"
        ]
    )
    event.shapeless(
        Item.of("crittersandcompanions:dragonfly_wing",4),
        [
                "minecraft:phantom_membrane",
                "minecraft:string"
        ]
    )
    event.smelting('minecraft:stone','minecraft:cobblestone',0.1,200)
    event.smelting('minecraft:deepslate','minecraft:cobbled_deepslate',0.1,200)
    //Create packed recipes
    const packedList = {
        "minecraft:clay_ball":"minecraft:clay",
        "minecraft:sand":"minecraft:sandstone",
        "minecraft:red_sand":"minecraft:red_sandstone",
        "minecraft:snowball":"minecraft:snow_block"
    }
    for (const [key, value] of Object.entries(packedList)) {
        event.shaped(
        Item.of(value,1),
            [
                'AA',
                'AA'
            ],
            {
                A: key
            }
        )
    }
    
    //Create picture recipes
    const pictureItems = [
        "kubejs:wtdeer",
        "kubejs:zonkey",
        "kubejs:zorse",
        "kubejs:flamingo",
        "kubejs:pelican",
        "kubejs:macaroni_penguin",
        "kubejs:cassowary",
        "kubejs:clam",
        "kubejs:coelacanth",
        "kubejs:gourami",
        "kubejs:herring",
        "kubejs:leafsheep",
        "kubejs:moony",
        "kubejs:octopus",
        "kubejs:opossum",
        "kubejs:ringtail",
        "kubejs:seacow",
        "kubejs:allay",
        "kubejs:alligator_snapping_turtle",
        "kubejs:alligator",
        "kubejs:ammonite",
        "kubejs:anaconda",
        "kubejs:angelfish",
        "kubejs:angler_fish",
        "kubejs:anomalocaris",
        "kubejs:ant",
        "kubejs:antarctopelta",
        "kubejs:anteater",
        "kubejs:anurognathus",
        "kubejs:apthoroblattina",
        "kubejs:arandaspis",
        "kubejs:arapaima",
        "kubejs:arrow_crab",
        "kubejs:artemia",
        "kubejs:atlatitan",
        "kubejs:austroraptor",
        "kubejs:axodile",
        "kubejs:axolotl",
        "kubejs:aye_aye",
        "kubejs:bald_eagle",
        "kubejs:banana_slug",
        "kubejs:barinasuchus",
        "kubejs:barreleye",
        "kubejs:basking_shark",
        "kubejs:basslet",
        "kubejs:bat",
        "kubejs:beaver",
        "kubejs:bee",
        "kubejs:beelzebufo",
        "kubejs:bison",
        "kubejs:blacktip_reef_shark",
        "kubejs:blobfish",
        "kubejs:blochius",
        "kubejs:blue_jay",
        "kubejs:blue_shark",
        "kubejs:blue_spotted_stingray",
        "kubejs:blunthead_tree_snake",
        "kubejs:boar",
        "kubejs:bone_serpent",
        "kubejs:bonnethead_shark",
        "kubejs:booflo",
        "kubejs:borealopelta",
        "kubejs:boundroid",
        "kubejs:boxfish",
        "kubejs:brachiosaurus",
        "kubejs:brainiac",
        "kubejs:bull_shark",
        "kubejs:bunfungus",
        "kubejs:butterfly",
        "kubejs:butterflyfish",
        "kubejs:cachalot_whale",
        "kubejs:caiman",
        "kubejs:camel",
        "kubejs:canary",
        "kubejs:candicorn",
        "kubejs:capuchin_monkey",
        "kubejs:capybara",
        "kubejs:caramel_cube",
        "kubejs:cardinal",
        "kubejs:cat",
        "kubejs:catfish",
        "kubejs:cave_centipede",
        "kubejs:cave_spider",
        "kubejs:chameleon",
        "kubejs:chicken",
        "kubejs:chimpanzee",
        "kubejs:chinchilla",
        "kubejs:chocolate_chip_starfish",
        "kubejs:clownfish",
        "kubejs:cockroach",
        "kubejs:coconut_crab",
        "kubejs:cod",
        "kubejs:comb_jelly",
        "kubejs:cookiecutter_shark",
        "kubejs:coral_snake",
        "kubejs:corgi",
        "kubejs:corrodent",
        "kubejs:cosmaw",
        "kubejs:cosmic_cod",
        "kubejs:cotylorhynchus",
        "kubejs:cow",
        "kubejs:crab",
        "kubejs:crab",
        "kubejs:creeper",
        "kubejs:crimson_mosquito",
        "kubejs:crocodile",
        "kubejs:crow",
        "kubejs:daphnia",
        "kubejs:darkwater_anglerfish",
        "kubejs:darkwater_eel",
        "kubejs:dawn_horse",
        "kubejs:deer",
        "kubejs:devils_hole_pupfish",
        "kubejs:dodo",
        "kubejs:doedicurus",
        "kubejs:dolphin",
        "kubejs:donkey",
        "kubejs:dragonfly",
        "kubejs:dropbear",
        "kubejs:duck",
        "kubejs:dumbo_octopus",
        "kubejs:dunkleosteus",
        "kubejs:dwarf_angelfish",
        "kubejs:elder_guardian",
        "kubejs:elephant_bird",
        "kubejs:elephant",
        "kubejs:emu",
        "kubejs:encrusted",
        "kubejs:endergrade",
        "kubejs:enderiophage",
        "kubejs:endermite",
        "kubejs:eolactoria",
        "kubejs:eryon",
        "kubejs:falcatus",
        "kubejs:featherback",
        "kubejs:fennec",
        "kubejs:ferret",
        "kubejs:ferrouslime",
        "kubejs:firefly",
        "kubejs:flounder",
        "kubejs:flutter",
        "kubejs:fly",
        "kubejs:flying_fish",
        "kubejs:foreyia",
        "kubejs:forsaken",
        "kubejs:fox",
        "kubejs:foxhound",
        "kubejs:freshwater_angelfish",
        "kubejs:freshwater_shark",
        "kubejs:frilled_shark",
        "kubejs:frog",
        "kubejs:froststalker",
        "kubejs:gammaroach",
        "kubejs:gazelle",
        "kubejs:gecko",
        "kubejs:gelada_monkey",
        "kubejs:ghast",
        "kubejs:giant_squid",
        "kubejs:giganhinga",
        "kubejs:gigantopithicus",
        "kubejs:giraffe",
        "kubejs:gloomoth",
        "kubejs:glow_squid",
        "kubejs:goat",
        "kubejs:goby",
        "kubejs:golden_moth",
        "kubejs:gorilla",
        "kubejs:gossamer_worm",
        "kubejs:great_thrasher",
        "kubejs:great_white_shark",
        "kubejs:greater_axodile",
        "kubejs:grizzly_bear",
        "kubejs:grottoceratops",
        "kubejs:guardian",
        "kubejs:gumbeeper",
        "kubejs:gummy_bear",
        "kubejs:guppy",
        "kubejs:guster",
        "kubejs:hallucigenia",
        "kubejs:hammerhead_shark",
        "kubejs:hamster",
        "kubejs:harlequin_shrimp",
        "kubejs:hedgehog",
        "kubejs:hippo",
        "kubejs:hogfish",
        "kubejs:hoglin",
        "kubejs:horse",
        "kubejs:hullbreaker",
        "kubejs:hummingbird",
        "kubejs:humpback_whale",
        "kubejs:hwachavenator",
        "kubejs:hyrax",
        "kubejs:iiwi",
        "kubejs:jellyfish",
        "kubejs:jerboa",
        "kubejs:josephoartigasia",
        "kubejs:jumping_spider",
        "kubejs:kangaroo",
        "kubejs:kentrosaurus",
        "kubejs:kiwi",
        "kubejs:koi_fish",
        "kubejs:komodo_dragon",
        "kubejs:krill",
        "kubejs:land_shark",
        "kubejs:lanternfish",
        "kubejs:largemouth_bass",
        "kubejs:laviathan",
        "kubejs:leaf_frog",
        "kubejs:leaf_insect",
        "kubejs:leafcutter_ant",
        "kubejs:leptictidium",
        "kubejs:lion",
        "kubejs:lionfish",
        "kubejs:lizard",
        "kubejs:llama",
        "kubejs:lobster",
        "kubejs:longhorn_cow",
        "kubejs:longhorn_cowfish",
        "kubejs:magma_cube",
        "kubejs:majungasaurus",
        "kubejs:mako_shark",
        "kubejs:mammoth",
        "kubejs:maned_wolf",
        "kubejs:mantis_shrimp",
        "kubejs:marine_iguana",
        "kubejs:marmot",
        "kubejs:marten",
        "kubejs:mata_mata",
        "kubejs:maw",
        "kubejs:megalania",
        "kubejs:megalodon",
        "kubejs:megatherium",
        "kubejs:mimic_octopus",
        "kubejs:mimicube",
        "kubejs:minnow",
        "kubejs:mole",
        "kubejs:moobloom",
        "kubejs:moorish_idol",
        "kubejs:moose",
        "kubejs:mooshroom",
        "kubejs:mouse",
        "kubejs:moustached_tamarin",
        "kubejs:mudskipper",
        "kubejs:mule",
        "kubejs:mungus",
        "kubejs:naked_mole_rat",
        "kubejs:napoleon_wrasse",
        "kubejs:nautilus",
        "kubejs:neilpeartia",
        "kubejs:neon_tetra",
        "kubejs:nine_banded_armadillo",
        "kubejs:notor",
        "kubejs:nucleeper",
        "kubejs:nurse_shark",
        "kubejs:ocelot",
        "kubejs:opah",
        "kubejs:opthalmo",
        "kubejs:orangutan",
        "kubejs:orangutan",
        "kubejs:orca",
        "kubejs:oretoise",
        "kubejs:otter",
        "kubejs:owl",
        "kubejs:snowowl",
        "kubejs:pachycephalosaurus",
        "kubejs:palaeophis",
        "kubejs:pancake_slug",
        "kubejs:panda",
        "kubejs:paraceratherium",
        "kubejs:parrot",
        "kubejs:parrotfish",
        "kubejs:penguin",
        "kubejs:perch",
        "kubejs:phantom",
        "kubejs:pheasant",
        "kubejs:pig",
        "kubejs:pikaia",
        "kubejs:pike",
        "kubejs:pillbug",
        "kubejs:pilot_fish",
        "kubejs:pink_fairy_armadillo",
        "kubejs:pinocchio_anole",
        "kubejs:pipefish",
        "kubejs:plantain_spider",
        "kubejs:platypus",
        "kubejs:pleco",
        "kubejs:polar_bear",
        "kubejs:potoo",
        "kubejs:puff_bug",
        "kubejs:pufferfish",
        "kubejs:rabbit_snail",
        "kubejs:rabbit",
        "kubejs:raccoon",
        "kubejs:radgill",
        "kubejs:rain_frog",
        "kubejs:rattlesnake",
        "kubejs:ravager",
        "kubejs:ray",
        "kubejs:raycat",
        "kubejs:red_panda",
        "kubejs:red_river_hog",
        "kubejs:reindeer",
        "kubejs:relicheirus",
        "kubejs:remora",
        "kubejs:rhinoceros",
        "kubejs:ring_tailed_lemur",
        "kubejs:roadrunner",
        "kubejs:robin",
        "kubejs:rocky_roller",
        "kubejs:rubber_ducky_isopod",
        "kubejs:sacabambaspis",
        "kubejs:salmon",
        "kubejs:scaumencia",
        "kubejs:sea_bunny",
        "kubejs:sea_pig",
        "kubejs:sea_turtle",
        "kubejs:seagull",
        "kubejs:seahorse",
        "kubejs:seal",
        "kubejs:secretary_bird",
        "kubejs:shame_faced_crab",
        "kubejs:sheep",
        "kubejs:shiba",
        "kubejs:shima_enaga",
        "kubejs:shoebill",
        "kubejs:shulker",
        "kubejs:siamang_gibbon",
        "kubejs:silkmoth",
        "kubejs:silverfish",
        "kubejs:skeleton_horse",
        "kubejs:skelewag",
        "kubejs:skreecher",
        "kubejs:skunk",
        "kubejs:slabfish",
        "kubejs:slime",
        "kubejs:sloth_bear",
        "kubejs:slovenicus",
        "kubejs:sludge",
        "kubejs:small_shark",
        "kubejs:smilodon",
        "kubejs:snail",
        "kubejs:snake",
        "kubejs:sniffer",
        "kubejs:snow_leopard",
        "kubejs:snowfox",
        "kubejs:soul_vulture",
        "kubejs:sparrow",
        "kubejs:spectre",
        "kubejs:spider_tailed_adder",
        "kubejs:spider",
        "kubejs:spinefish",
        "kubejs:squid",
        "kubejs:squirrel",
        "kubejs:stag_beetle",
        "kubejs:steller_sea_cow",
        "kubejs:stethacanthus",
        "kubejs:stingray",
        "kubejs:straddler",
        "kubejs:stradpole",
        "kubejs:strider",
        "kubejs:subterranodon",
        "kubejs:sugar_glider",
        "kubejs:sunbird",
        "kubejs:sunfish",
        "kubejs:sweetish_fish",
        "kubejs:talapanas",
        "kubejs:talpanas",
        "kubejs:tang",
        "kubejs:tapejara",
        "kubejs:tapir",
        "kubejs:tarantula_hawk",
        "kubejs:tasmanian_devil",
        "kubejs:terrapin",
        "kubejs:thrasher",
        "kubejs:thylacine",
        "kubejs:tiger_shark",
        "kubejs:tiger",
        "kubejs:tortoise",
        "kubejs:toucan",
        "kubejs:tremorsaurus",
        "kubejs:tremorzilla",
        "kubejs:triceratops",
        "kubejs:trilobite",
        "kubejs:trilocaris",
        "kubejs:triops",
        "kubejs:tripodfish",
        "kubejs:tropical_fish",
        "kubejs:tuna",
        "kubejs:turkey",
        "kubejs:tusklin",
        "kubejs:tyrannosaurus_rex",
        "kubejs:ulughbegsaurus",
        "kubejs:vallumraptor",
        "kubejs:veiled_chameleon",
        "kubejs:velociraptor",
        "kubejs:vesper",
        "kubejs:vulture",
        "kubejs:warden",
        "kubejs:warped_mosco",
        "kubejs:warped_toad",
        "kubejs:weasel",
        "kubejs:whale_shark",
        "kubejs:white_fruit_bat",
        "kubejs:wolf",
        "kubejs:yak",
        "kubejs:yeti_crab",
        "kubejs:zebra",
        "kubejs:zoglin",
        "kubejs:zombie_horse"
    ]
    for (const item of pictureItems) {
        event.shapeless(
        Item.of(item,2),
            [
                 "minecraft:amethyst_shard",
                 item
            ]
        )
    }

    //Create static pot recipes
    const colors = {
        "minecraft:white_terracotta":"clayworks:white_decorated_pot",
        "minecraft:light_gray_terracotta":"clayworks:light_gray_decorated_pot",
        "minecraft:gray_terracotta":"clayworks:gray_decorated_pot",
        "minecraft:black_terracotta":"clayworks:black_decorated_pot",
        "minecraft:brown_terracotta":"clayworks:brown_decorated_pot",
        "minecraft:red_terracotta":"clayworks:red_decorated_pot",
        "minecraft:orange_terracotta":"clayworks:orange_decorated_pot",
        "minecraft:yellow_terracotta":"clayworks:yellow_decorated_pot",
        "minecraft:lime_terracotta":"clayworks:lime_decorated_pot",
        "minecraft:green_terracotta":"clayworks:green_decorated_pot",
        "minecraft:cyan_terracotta":"clayworks:cyan_decorated_pot",
        "minecraft:light_blue_terracotta":"clayworks:light_blue_decorated_pot",
        "minecraft:blue_terracotta":"clayworks:blue_decorated_pot",
        "minecraft:purple_terracotta":"clayworks:purple_decorated_pot",
        "minecraft:magenta_terracotta":"clayworks:magenta_decorated_pot",
        "minecraft:pink_terracotta":"clayworks:pink_decorated_pot"
    }
    for (const [key, value] of Object.entries(packedList)) {
        event.shaped(
        Item.of(value,1),
            [
                ' A ',
                'A A',
                ' A '
            ],
            {
                A: key
            }
        )
    }
    const kilnDict = {
        "quark:cobblestone_bricks":"minecraft:stone_bricks",
        "architects_palette:redstone_ore_bricks":"architects_palette:cracked_redstone_ore_bricks",
        "architects_palette:lapis_ore_bricks":"architects_palette:cracked_lapis_ore_bricks",
        "architects_palette:emerald_ore_bricks":"architects_palette:cracked_emerald_ore_bricks",
        "architects_palette:olivestone_tiles":"architects_palette:cracked_olivestone_tiles",
        "minecraft:honey_block":"buzzier_bees:crystallized_honey_block",
        "minecraft:mud_bricks":"betterarcheology:cracked_mud_bricks",
        "supplementaries:ash":"supplementaries:ash_brick",
        "architects_palette:iron_ore_bricks":"architects_palette:cracked_iron_ore_bricks",
        "alexscaves:coprolith":"alexscaves:smooth_coprolith",
        "architects_palette:heavy_end_stone_bricks":"architects_palette:heavy_cracked_end_stone_bricks",
        "architects_palette:olivestone_bricks":"architects_palette:cracked_olivestone_bricks",
        "quark:soul_sandstone":"quark:smooth_soul_sandstone",
        "naturalist:shellstone":"naturalist:smooth_shellstone",
        "alexscaves:guano_block":"alexscaves:guanostone",
        "alexscaves:limestone":"alexscaves:smooth_limestone",
        "architects_palette:moonshale_bricks":"architects_palette:cracked_moonshale_bricks",
        "architects_palette:gold_ore_bricks":"architects_palette:cracked_gold_ore_bricks",
        "architects_palette:basalt_tiles":"architects_palette:cracked_basalt_tiles",
        "minecraft:packed_mud":"environmental:smooth_mud",
        "quark:dirty_glass":"minecraft:glass",
        "architects_palette:coal_ore_bricks":"architects_palette:cracked_coal_ore_bricks",
        "architects_palette:algal_bricks":"architects_palette:cracked_algal_bricks",
        "minecraft:bone_block":"alexscaves:smooth_bone",
        "architects_palette:heavy_stone_bricks":"architects_palette:heavy_cracked_stone_bricks",
        "architects_palette:craterstone":"architects_palette:moonshale"
    }
    for (const [key, value] of Object.entries(kilnDict)) {
        event.custom({
            type: 'clayworks:baking',
            category: 'blocks',
            cookingtime: 100,
            experience: 0.1,
            ingredient: {
                item: key
            },
            result: value
        })
    }
})
ServerEvents.tags('item', event => {
    const axes = [
        'simplest_paxels:wooden_paxel',
        'simplest_paxels:stone_paxel',
        'simplest_paxels:iron_paxel',
        'simplest_paxels:golden_paxel',
        'simplest_paxels:diamond_paxel',
        'simplest_paxels:netherite_paxel',
        'unusualprehistory:handmade_battleaxe'
    ]
    axes.forEach(item => {
        event.add('minecraft:axes',item)
        event.add('forge:tools/axes',item)
        event.add('deathknell:axes',item)
        event.add('minecraft:tools',item)
        event.add('forge:tools',item)
    })

    const fish = ['benssharks:raw_pilot_fish', 'benssharks:cooked_pilot_fish']
    fish.forEach(f => event.add('minecraft:fishes',f))

    const teeth = ['benssharks:shark_tooth', 'upgrade_aquatic:thrasher_tooth']
    teeth.forEach(tooth => event.add("menagerie:shark_teeth",tooth))

    const books = ['ftbquests:book', 'unusualprehistory:encyclopedia']
    books.forEach(book => event.add('minecraft:bookshelf_books',book))

    const candies = ['unusualprehistory:amber_gummy', 'delightful:cantaloupe_gummy', 'rainbowreef:goby_gummy', 'delightful:salmonberry_gummy', 'delightful:matcha_gummy', 'alexscaves:gumball_pile', 'alexscavesdelight:caramel_cookie', 'alexscavesdelight:chocolate_cookie', 'alexscavesdelight:pine_nuts_cookie', 'alexscavesdelight:sulfur_cookie', 'alexscaves:sweetish_fish_red', 'alexscaves:sweetish_fish_green', 'alexscaves:sweetish_fish_yellow', 'alexscaves:sweetish_fish_blue', 'alexscaves:sweetish_fish_pink', 'alexscavesdelight:cut_sweetish_fish_blue', 'alexscavesdelight:cut_sweetish_fish_green', 'alexscavesdelight:cut_sweetish_fish_pink', 'alexscavesdelight:cut_sweetish_fish_red', 'alexscavesdelight:cut_sweetish_fish_yellow']
    candies.forEach(candy => event.add('supplementaries:cookies',candy))

    const bookTags = [
        'amendments:goes_in_lectern',
        'minecraft:lectern_books',
        'forge:books',
        'bookshelf:books',
        'deathknell:books'
    ]
    bookTags.forEach(tag => event.add(tag,'unusualprehistory:encyclopedia'))
})
ServerEvents.tags('block', event => {
    const frameable = ['snifferent:amber_glass', 'alexsmobs:rainbow_glass', 'unusualprehistory:amber_glass', 'alexscaves:amber', 'alexscaves:depth_glass', 'alexscaves:sugar_glass']
    frameable.forEach(frame => event.add('framedblocks:frameable',frame))
})