ServerEvents.recipes(event => {

//Flintlock Pistol
  event.shaped(
    Item.of('pointblank:flintlockpistol', 1),
    [
      'AAB',
      ' CD',
      '   '
    ],
    {
      A: 'create:brass_ingot',
      B: 'minecraft:iron_nugget',
      C: 'create:brass_nugget',
      D: '#minecraft:logs'
    }
  ),

//Musket
  event.shaped(
    Item.of('pointblank:musket', 1),
    [
      'AAA',
      'BBB',
      ' CC'
    ],
    {
      A: 'minecraft:iron_ingot',
      B: '#minecraft:logs',
      C: 'minecraft:iron_nugget'
    }
  ),

//Mauser C96
  event.recipes.create.mechanical_crafting('pointblank:c96', [
    'ABC',
    ' DE'
  ], {
    A: 'crusty_chunks:small_bored_barrel',
    B: 'crusty_chunks:advanced_pistol_receiver',
    C: 'crusty_chunks:weapon_bolt',
    D: 'crusty_chunks:smallmagazine',
    E: 'crusty_chunks:wood_component'
  }),

//Lever Action Rifle
  event.recipes.create.mechanical_crafting('pointblank:leveraction', [
    'AABC',
    'DEFG'
  ], {
    A: 'crusty_chunks:medium_bored_barrel',
    B: 'crusty_chunks:basic_receiver',
    C: 'crusty_chunks:weapon_bolt',
    D: 'crusty_chunks:small_bored_barrel',
    E: 'crusty_chunks:wood_component',
    F: '#forge:ingots/brass',
    G: 'crusty_chunks:rifle_stock'
  }),

//Lewis Gun
  event.recipes.create.mechanical_crafting('pointblank:lewisgun', [
    '   A ',
    'BBBCD',
    '   E '
  ], {
    A: 'crusty_chunks:lmg_magazine',
    B: 'crusty_chunks:machine_gun_barrel',
    C: 'crusty_chunks:mg_receiver',
    D: 'crusty_chunks:rifle_stock',
    E: '#forge:ingots/steel'
  }),

//M1911
//  event.recipes.create.mechanical_crafting('pointblank:m1911a1', [
//    'ABC',
//    ' DE'
//  ], {
//    A: 'crusty_chunks:small_bored_barrel',
//    B: 'crusty_chunks:pistol_receiver',
//    C: 'crusty_chunks:weapon_bolt',
//    D: 'crusty_chunks:smallmagazine',
//    E: 'crusty_chunks:wood_component'
//  }),

//Welrod
  event.recipes.create.mechanical_crafting('pointblank:welrod', [
    'ABCD',
    '  E ',
    '  F '
  ], {
    A: 'crusty_chunks:weapon_supressor',
    B: 'crusty_chunks:small_bored_barrel',
    C: 'crusty_chunks:advanced_pistol_receiver',
    D: 'crusty_chunks:weapon_bolt',
    E: 'tfmg:synthetic_leather',
    F: 'crusty_chunks:smallmagazine'
  }),

//Thompson
  event.recipes.create.mechanical_crafting('pointblank:thompson', [
    'AABC',
    ' DEF'
  ], {
    A: 'crusty_chunks:small_bored_barrel',
    B: 'crusty_chunks:smg_receiver',
    C: '#forge:ingots/steel',
    D: 'crusty_chunks:wood_component',
    E: 'crusty_chunks:smg_magazine',
    F: 'crusty_chunks:rifle_stock'
  }),

//Trenchgun
  event.recipes.create.mechanical_crafting('pointblank:trenchgun', [
    'AAB ',
    'CDEF'
  ], {
    A: 'crusty_chunks:medium_bored_barrel',
    B: 'crusty_chunks:basic_receiver',
    C: 'crusty_chunks:small_unbored_barrel',
    D: 'crusty_chunks:wood_component',
    E: 'crusty_chunks:firing_mechanism',
    F: 'crusty_chunks:rifle_stock'
  }),

//Webley
  event.recipes.create.mechanical_crafting('pointblank:webley', [
    'ABC',
    ' DE'
  ], {
    A: 'crusty_chunks:small_bored_barrel',
    B: 'crusty_chunks:revolver_receiver',
    C: '#forge:ingots/steel',
    D: 'crusty_chunks:firing_mechanism',
    E: 'tfmg:synthetic_leather'
  }),

//Madsen Machine Gun
  event.recipes.create.mechanical_crafting('pointblank:madsen', [
    '  A ',
    'BBCD',
    'EEF '
  ], {
    A: 'crusty_chunks:medium_magazine',
    B: 'crusty_chunks:machine_gun_barrel',
    C: 'crusty_chunks:mg_receiver',
    D: 'crusty_chunks:rifle_stock',
    E: 'crusty_chunks:steel_wire',
    F: 'crusty_chunks:firing_mechanism'
  }),

//Chauchat M1915
  event.recipes.create.mechanical_crafting('pointblank:chauchatm1915', [
    'ABCDD',
    ' DEFG'
  ], {
    A: 'crusty_chunks:machine_gun_barrel',
    B: 'crusty_chunks:mg_receiver',
    C: 'crusty_chunks:weapon_bolt',
    D: '#forge:ingots/steel',
    E: 'crusty_chunks:medium_magazine',
    F: 'crusty_chunks:firing_mechanism',
    G: 'crusty_chunks:rifle_stock'
  })

//Gewehr 98
  event.recipes.create.mechanical_crafting('pointblank:gewehr98', [
    'AAAB ',
    ' CCCD'
  ], {
    A: 'crusty_chunks:medium_bored_barrel',
    B: 'crusty_chunks:bolt_action_receiver',
    C: 'crusty_chunks:wood_component',
    D: 'crusty_chunks:rifle_stock'
  }),

//M1903 Springfield
  event.recipes.create.mechanical_crafting('pointblank:springfield', [
    'AAAB ',
    'CCCCD'
  ], {
    A: 'crusty_chunks:medium_bored_barrel',
    B: 'crusty_chunks:bolt_action_receiver',
    C: 'crusty_chunks:wood_component',
    D: 'crusty_chunks:rifle_stock'
  })
})
