// priority: 0


// *************************** //
// **** ADD EMI INFO PAGE **** //
// *************************** //

JEIEvents.information(event => {

    // raw_conversion_generator
    event.addItem('simple_resource_generators:raw_conversion_generator', [
        'This is how you will generate resources until you get the automated version. Simply input a raw ore into the left slot (the other slots are just for storing other raw ores), and it will generate an ore from that tag. So if you input a Raw Iron, any ore block from the tag of forge:ores/iron will generate above it as a block in world.\n\n' +
        'Mine the block manually to get more of that initial raw ore. You can upgrade to an automatic version that instead works kind of opposite to this once you get steel.\n\n' +
        'The upgraded version instead reads the ore block placed in world above it, and generates more of that ore block in its inventory in item form for further processing.'
    ])

    // simple_ore_generator
    event.addItem('simple_resource_generators:simple_ore_generator', [
        'This is how you will automatically generate resources for most of the pack. Place this block underneath an ore block placed in the world and it will generate more of that same ore in its internal inventory. Use the Raw Conversion Generator to get an ore block where you require it, then swap out the Raw Conversion Generator for this.\n\n' +
        'It can only hold one stack in its inventory so use a Hopper or any kind of item transfer to empty its inventory.\n\n' +
        'Ideally have one of these for each ore you need in large quantities. Also keep in mind that nether and end ore variants process into double the quantity of other ores.\n\n' +
        'This works for anything that uses the #forge/ores tag.'
    ])

    // simple_ore_generator_placement
    event.addItem('simple_resource_generators:simple_ore_generator_placement', [
        'This can be a decent way to AOE harvest ores before getting to the automated Simple Ore Generator.\n\n' +
        'This will look at the block below it and if it is an ore, it will generate the exact same ore block above it. You can set 9 of these in a 3x3 area with up to 9 different (or same) ores being produced and harvest them with either a Mining Hammer or Spade.\n\n' +
        'This is better than the Raw Conversion Generator for AOE harvesting as it makes sure the ore blocks are the same type of base material (Stone, Sand, Netherrack, and the rest) so either your Mining Hammer or Spade are effective.'
    ])

    // simple_water_condenser
    event.addItem('simple_resource_generators:simple_water_condenser', [
        'A basic way to fill Buckets with Water, and a few other things. Does not actually generate or store Water.\n\n' +
        'Right click it while holding a Bucket to fill it.\n\n' +
        'Will also convert Dirt -> Mud, Dust -> Clay, and dusts obtain from mining ores like Stone Dust, Andesite Dust, and others -> Clay Ball.'
    ])

    // grass_seed
    event.addItem('ex_hammers:grass_seed', [
        'You can right click on a block of Dirt in world to convert it to a Grass Block. The Grass Blocks will then spread as they normally would.\n\n' +
        'Some other in world conversions are Mud -> Moss Block, Cobblestone -> Mossy Cobblestone, Stone Bricks -> Mossy Stone Bricks, however these will not continue to spread like Grass Blocks spreading with Dirt.\n\n' +
        'Can be obtained by crafting Wheat Seeds with a Knife. You can also buy one from the Market, or obtain one from the Random Seed Generator.\n\n' +
        'If desired you can obtain Grass, Tall Grass, Grass Blocks, and more Grass Seeds by growing them in a Botany Pot using the Grass Seed as the growable item.'
    ])

    // basic_water_generator
    event.addItem('simplefluidgenerators:basic_water_generator', [
        'Will generate 100 mb of Water per tick normally, you can place a Cupronickel Coil Block underneath it to increase the generation by 10x.\n\n' +
        'Will auto output out the top if placed below something that can hold Water.\n\n' +
        'Has an internal capacity of 32 buckets.'
    ])

    // basic_lava_generator
    event.addItem('simplefluidgenerators:basic_lava_generator', [
        'Will generate 1 mb of Lava per tick normally, you can place a Cupronickel Coil Block underneath it to increase the generation by 10x.\n\n' +
        'Will auto output out the top if placed below something that can hold Lava.\n\n' +
        'Has an internal capacity of 32 buckets.'
    ])


    // fin //

})


// ********************** //
// **** RENAME ITEMS **** //
// ********************** //

ClientEvents.lang('en_us', event => {

    event.renameItem('minecraft:netherite_helmet', 'Forged Netherite Helmet')
    event.renameItem('minecraft:netherite_chestplate', 'Forged Netherite Chestplate')
    event.renameItem('minecraft:netherite_leggings', 'Forged Netherite Leggings')
    event.renameItem('minecraft:netherite_boots', 'Forged Netherite Boots')
    event.renameItem('minecraft:netherite_block', 'Block of Decorative Netherite')
    event.renameItem('minecraft:ancient_debris', 'Poor Ancient Debris')
    event.renameItem('easypaxellite:netherite_paxel', 'Forged Netherite Paxel')
    event.renameItem('farmersdelight:netherite_knife', 'Forged Netherite Knife')
    event.renameItem('brewery:netherite_brewingstation', 'Forged Netherite Brewingstation')
    event.renameItem('functionalstorage:netherite_upgrade', 'Forged Netherite Upgrade')

    event.renameItem('ex_hammers:stone_hammer', 'Stone Crushing Hammer')
    event.renameItem('ex_hammers:iron_hammer', 'Iron Crushing Hammer')
    event.renameItem('ex_hammers:diamond_hammer', 'Diamond Crushing Hammer')
    event.renameItem('ex_hammers:netherite_hammer', 'Forged Netherite Crushing Hammer')

    event.renameItem('sophisticatedbackpacks:copper_backpack', 'Bronze Backpack')
    event.renameItem('sophisticatedbackpacks:iron_backpack', 'Steel Backpack')
    event.renameItem('sophisticatedbackpacks:gold_backpack', 'Aluminium Backpack')
    event.renameItem('sophisticatedbackpacks:diamond_backpack', 'Stainless Steel Backpack')
    event.renameItem('sophisticatedbackpacks:netherite_backpack', 'Titanium Backpack')


    // fin //

})