ServerEvents.recipes(event => {
    event.remove({id: 'compactmachines:wall'})
    event.remove({id: 'compactmachines:machine_tiny'})
    event.remove({id: 'compactmachines:machine_small'})
    event.remove({id: 'compactmachines:machine_tiny'})
    event.remove({id: 'compactmachines:machine_tiny'})
    event.remove({id: 'compactmachines:machine_tiny'})
    event.remove({id: 'compactmachines:machine_tiny'})
  })

ServerEvents.recipes(event => {
    //Compact Machine Wall
    event.shaped('4x compactmachines:wall',
    ['111','1 1','111'], {
      1: '#forge:storage_blocks/netherite'
    }).id('compactmachines:wall')
    
    //Compact Machine Tiny
    event.shaped('compactmachines:machine_tiny',
    ['111','121','111'], {
      1: 'compactmachines:wall',
      2: 'industrialforegoing:machine_frame_advanced'
    }).id('compactmachines:machine_tiny')
    
    //Compact Machine Small
    event.shaped('compactmachines:machine_small',
    ['111','121','111'], {
      1: 'compactmachines:wall',
      2: 'compactmachines:machine_tiny'
    }).id('compactmachines:machine_small')
    
    //Compact Machine Normal
    event.shaped('compactmachines:machine_normal',
    ['111','121','111'], {
      1: 'compactmachines:wall',
      2: 'compactmachines:machine_small'
    }).id('compactmachines:machine_normal')
    
    //Compact Machine Large
    event.shaped('compactmachines:machine_large',
    ['111','121','111'], {
      1: 'compactmachines:wall',
      2: 'compactmachines:machine_normal'
    }).id('compactmachines:machine_large')
    
    //Compact Machine Giant
    event.shaped('compactmachines:machine_giant',
    ['111','121','111'], {
      1: 'compactmachines:wall',
      2: 'compactmachines:machine_large'
    }).id('compactmachines:machine_giant')
    
    //Compact Machine Maximum
    event.shaped('compactmachines:machine_maximum',
    ['111','121','111'], {
      1: 'compactmachines:wall',
      2: 'compactmachines:machine_giant'
    }).id('compactmachines:machine_maximum')
})