{
  "format_version": "1.20.70",
  "minecraft:block": {
    "description": {
      "identifier": "fluffyalien_asn:storage_drive",
      "menu_category": {
        "category": "items"
      },
      "traits": {
        "minecraft:placement_direction": {
          "enabled_states": ["minecraft:cardinal_direction"],
          "y_rotation_offset": 180
        }
      }
    },
    "components": {
      "tag:minecraft:is_pickaxe_item_destructible": {},
"minecraft:custom_components": [
        "fluffyalien_asn:network_device",
        "fluffyalien_asn:storage_drive"
      ],
      "tag:fluffyalien_asn:storage_network_connectable": {},

      "minecraft:geometry": "minecraft:geometry.full_block",
      "minecraft:material_instances": {
        "*": {
          "texture": "fluffyalien_asn:machine_casing_side"
        },
        "north": {
          "texture": "fluffyalien_asn:storage_drive_front"
        },
        "up": {
          "texture": "fluffyalien_asn:machine_casing_top"
        },
        "down": "up"
      },
      "minecraft:destructible_by_explosion": false,
      "minecraft:display_name": "%tile.fluffyalien_asn.storage_drive.name\n§o§bAdvanced §dStorage §eNetwork§r",
      "minecraft:destructible_by_mining": {
        "seconds_to_destroy": 1
      }
    },
    "permutations": [
      {
        "condition": "q.block_state('minecraft:cardinal_direction') == 'south'",
        "components": {
          "minecraft:transformation": {
            "rotation": [0, 180, 0]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:cardinal_direction') == 'west'",
        "components": {
          "minecraft:transformation": {
            "rotation": [0, 90, 0]
          }
        }
      },
      {
        "condition": "q.block_state('minecraft:cardinal_direction') == 'east'",
        "components": {
          "minecraft:transformation": {
            "rotation": [0, -90, 0]
          }
        }
      }
    ]
  }
}
