BlockEvents.modification(event => {
  event.modify('minecraft:white_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:light_gray_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:gray_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:black_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:blue_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:light_blue_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:cyan_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:green_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:lime_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:yellow_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:orange_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:red_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:brown_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:purple_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:magenta_bed', block => {
    block.explosionResistance = 12
  })
  
  event.modify('minecraft:pink_bed', block => {
    block.explosionResistance = 12
  })
  })