ServerEvents.recipes(event => {
    event.custom({
      "type": "minecraft:crafting_shapeless",
      "ingredients": [
        {
          "item": "minecraft:moss_carpet"
        },
        {
          "item": "minecraft:moss_carpet"
        },
        {
          "item": "minecraft:moss_carpet"
        },
        {
          "item": "minecraft:moss_carpet"
        },
        {
          "item": "minecraft:bone_meal"
        },
        {
          "item": "minecraft:moss_carpet"
        },
        {
          "item": "minecraft:moss_carpet"
        },
        {
          "item": "minecraft:moss_carpet"
        },
        {
          "item": "minecraft:moss_carpet"
        }
      ],
      "result": {
        "item": "minecraft:moss_block"
      }
    })
})