public static void sendPartitionToContents(
      final EntityPlayer player, final TileEssentiaCellWorkbench workbench) {
    Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_PARITION_CONTENTS);

    // Set the workbench
    packet.workbench = workbench;

    // Send it
    NetworkHandler.sendPacketToServer(packet);
  }
  public static void sendGetPartitionList(
      final EntityPlayer player, final TileEssentiaCellWorkbench workbench) {
    Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_FULL_LIST);

    // Set the workbench
    packet.workbench = workbench;

    // Send it
    NetworkHandler.sendPacketToServer(packet);
  }
  public static void sendClearPartitioning(
      final EntityPlayer player, final TileEssentiaCellWorkbench workbench) {
    Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_CLEAR);

    // Set the workbench
    packet.workbench = workbench;

    // Send it
    NetworkHandler.sendPacketToServer(packet);
  }
  /**
   * Creates the packet
   *
   * @param player
   * @param mode
   * @return
   */
  private static Packet_S_EssentiaCellWorkbench newPacket(
      final EntityPlayer player, final byte mode) {
    // Create the packet
    Packet_S_EssentiaCellWorkbench packet = new Packet_S_EssentiaCellWorkbench();

    // Set the player & mode
    packet.player = player;
    packet.mode = mode;

    return packet;
  }
  public static void sendRemoveAspect(
      final EntityPlayer player, final TileEssentiaCellWorkbench workbench, final Aspect aspect) {
    Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_REMOVE_ASPECT);

    // Set the aspect
    packet.arAspect = aspect;

    // Set the workbench
    packet.workbench = workbench;

    // Send it
    NetworkHandler.sendPacketToServer(packet);
  }
  public static void sendReplaceAspect(
      final EntityPlayer player,
      final TileEssentiaCellWorkbench workbench,
      final Aspect originalAspect,
      final Aspect newAspect) {
    Packet_S_EssentiaCellWorkbench packet = newPacket(player, MODE_REQUEST_REPLACE_ASPECT);

    // Set the aspects
    packet.arAspect = originalAspect;
    packet.replaceAspect = newAspect;

    // Set the workbench
    packet.workbench = workbench;

    // Send it
    NetworkHandler.sendPacketToServer(packet);
  }