{
  "type": "minecraft:block",
  "pools": [
    {
      "name": "cable",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "computercraft:cable"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:survives_explosion"
        },
        {
          "condition": "minecraft:block_state_property",
          "block": "computercraft:cable",
          "properties": {
            "cable": "true"
          }
        }
      ]
    },
    {
      "name": "wired_modem",
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "computercraft:wired_modem"
        }
      ],
      "conditions": [
        {
          "condition": "minecraft:survives_explosion"
        },
        {
          "condition": "minecraft:inverted",
          "term": {
            "condition": "minecraft:block_state_property",
            "block": "computercraft:cable",
            "properties": {
              "modem": "none"
            }
          }
        }
      ]
    }
  ]
}